@charset "utf-8";
@import "reset";

::-webkit-scrollbar
{
    width: 16px;
    height: 16px;
    background-color: #7e7979;
}
 
::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 20px rgba(0,0,0,1);
    border-radius:20px;
    background-color: white;
}
::-webkit-scrollbar-thumb{
//  background-color: #474747;
//  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);

    background-color: rgb(255, 255, 255);
    background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(rgba(0, 0, 0,.9)), color-stop(0.6, rgba(255, 255, 255,.9)), to(rgba(0, 0, 0,.9)));
    border-radius: 10px;
}

header{ 
    position: fixed;
    width: 100%;
    z-index: 10;
    .navbar{
            margin-bottom:0;
            
        }
    .container{
        >.navbar-header{
            padding-top: 3px;
            padding-bottom: 3px;
        }
    }
    .navbar-default{
        background-color: #222222;
        border: none;
        .navbar-nav{
            .active{
                a{
                    color: #555;
                    background-color: #e7e7e7;
                }
            }
            >li{
                >a{
                    color: #9d9d9d;
                    &:hover{
                        color: #555;
                        background-color: #e7e7e7;
                    }
                }
            }
        }
        
        .navbar-brand{
            padding: 7px 6px;
        }
        .nav{
            >li{
                >a{
                    padding-top: 18px;
                    padding-bottom: 18px;
                }
            }
        }
    }
    
}
.ding{
    height: 56px;
    width: 100%;
}
.datu{
    width: 100%;
    background-color: #2B80D9;
    text-align: center;
    .container{
        img{
            width: 100%;
        }
        &:hover img{
            opacity: .8;
        }
    }
}

.enginewrap{
    background: #fbfaf7;
    padding-top: 106px;
    .container{
        background: url(../img/flash-bg.jpg) no-repeat right;
        padding-bottom: 100px;
        background-color: #fbfaf7;
        .enginetitle{
            width: 100%;
        }
    }
    h2{
        font-size: 48px;
        color: #0078d7;
        margin-top: 0;
        margin-bottom: 30px;
    }
    h3{
        font-size: 30px;
        color: #666;
        font-weight: normal;
        margin-bottom: 40px;
    }
    .iconwrap{
//      margin-right: 10px;
        float: left;
        width:64px;
        height: 64px;
        border-radius: 4px;
        background-color: #0078d7;
        transition: all 1s;
        &:hover{
            transform: rotate(360deg);
            background-color: #ccc;
        }
    }
    .textwrap{
        margin-bottom: 20px;
        p{
            font-size: 20px;
            color: #333;
            
        }
        span{
            color: #666;
            line-height: 24px;
        }
    }
}

.layagood{
    width: 100%;
    text-align: center;
    font-size: 0;
    padding: 50px 0;
    .container{
        overflow: hidden;
        >div:first-of-type{
            margin-top: 80px;
            img{
                width: 100%;
            }
        }
        >div:last-of-type{
            h2{
                font-size: 48px;
                color: #8fc31f;
                font-weight: bold;
                margin-bottom: 40px;
                text-align: left;
            }
            >div{
                margin-bottom: 20px;
                >div{
                    width: 54px;
                    height: 54px;
                    background-color: #8fc31f;
                    display: inline-block;
                    border-radius: 100%;
                }
                >span{
                    font-size: 14px;
                    color: #666666;
                    text-align: left;
                }
            }
        }
    }
}
.layafamily{
    width: 100%;
    background-color: #0079D7;
    padding-top: 54px;
    padding-bottom: 102px;
    .container{
        overflow: hidden;
        h2{
            font-size: 48px;
            color: white;
            margin: 30px 0 50px;
            text-align: center;
        }
        >div{
            height: 140px;
            margin-bottom: 50px;
            >div:first-of-type{
                text-align: center;
            }
            >div:last-of-type{
                h3{
                    font-size: 33px;
                    color:white;
                    margin-top: 0;
                    margin-bottom: 0;
                    line-height: 48px;
                }
                p{
                    font-size: 14px;
                    color: white;
                    line-height: 29px;
                }
            }
        }
    }
    
}

.layagame{
    width: 100%;
    padding: 100px 0 40px;
    .container{
        h2{
            font-size: 34px;
            margin-top: 0;
            margin-bottom: 20px;
            line-height: 50px;
        }
        >a{
            text-align: right;
            font-size: 14px;
            line-height: 50px;
            color: black;
        }
        >div{
            video{
                width: 100%;
            }
        }
        >div:last-of-type{
            padding-top: 20px;
            ul{
                li{
                    text-align: center;
                    img{
                        width: 100%;
                        &:hover{
                            opacity: .8;
                        }
                    }
                    p{
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-size: 14px;
                        line-height: 28px;
                    }
                }
            }
            
        }
    }
}

.partner{
    width: 100%;
    background: #f4f4f4;
    .container{
        padding: 40px 0;
        h2{
            font-size: 30px;
            color: black;
            margin-bottom: 30px;
            padding-left: 30px;
            span{
                font-size: 12px;
                color: #9c9c9c;
            }
        }
        ul{
            li{
               margin-bottom: 20px; 
                img{
                    width: 100%;
                    border:1px solid #ddd;
                    border-radius: 3px;
                    &:hover{
                        opacity: .8;
                    }
                }
            }
        }
    }
}
footer{
    width: 100%;
    padding:20px 0 30px;
    background: #3b3b3b;
    .container{
        >div:first-of-type{
            float: left;
            a{
                font-size: 15px;
                color: #8c8d94;
                line-height: 20px;
                margin-right: 10px;
                &:hover{
                    color: white;
                }
            }
            p{
                font-size: 15px;
                color: #8c8d94;
                line-height: 34px;
            }
        }
        >div:last-of-type{
            position: relative;
            a{
               margin-right: 10px;
               &:first-of-type:hover~div:first-of-type{
                   display: block;
               }
               &:nth-of-type(2):hover~div:nth-of-type(2){
                   display: block;
               }
               &:last-of-type:hover~div:last-of-type{
                   display: block;
               }
            }
            >div{
                width: 142px;
                height: 152px;
                position: absolute;
                top: -152px;
                display: none;
                img{
                    width: 100%;
                }
                &:first-of-type{
                    left: -50px;
                }
                &:nth-of-type(2){
                    left: 3px;
                }
                &:last-of-type{
                    right: -45px;
                }
            }
        }
    }
    
}

@media (max-width:480px){
    .enginewrap h2{
        font-size: 30px;
        text-align: center;
    }
    .enginewrap h3{
        font-size: 22px;
        margin-left: 30px;
        margin-right: 30px;
    }
    .enginewrap>.container{
        background: none;
    }
    .enginewrap>.container>div>div>div{
        text-align: center;
    }
    .enginewrap>.container>div>div>div>div{
        float: none;
        display: inline-block;
    }
    
    
    .layagood>.container span{
        line-height: 27px;
    }
    .layagood>.container>div:last-of-type h2{
        font-size: 30px;
    }
    .layafamily>.container>div{
        height: 200px;
        h3{
            text-align: center;
        }
    }
    .partner>.container>ul>li{
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 767px) and (min-width: 480px){
    .enginewrap>.container{
        background: none;
    }
    .enginewrap h2{
        margin-left: 30px;
    }
    .enginewrap h3{
        margin-left: 30px;
    }
    .layagood>.container span{
        line-height: 54px;
    }
    .layafamily>.container>div>div h3{
            text-align: center;
        
    }
    .layagame>.container>div:last-of-type>ul>li>p{
        font-size: 24px;
        line-height: 34px;
    }
    .partner>.container>ul>li{
        padding-left: 8px;
        padding-right: 8px;
    }
    
}

@media (min-width:768px)and(max-width:992px){
    .nav{
        >li{
            >a{
                padding-left: 5px;
                padding-right: 5px;
            }
        }
    }
}





@media (min-width: 768px){
    .navbar {
        border-radius: 4px;
    }
    .layagood>.container span{
        line-height: 27px;
    }
}
@media (min-width: 992px){
    
    .layagood>.container span{
        line-height: 54px;
    }
}
@media (min-width: 1200px){
    .container {
        width: 1000px;
        padding-left: 14px;
    }
}
